package com.atguigu.tingshu.common.login;

import java.lang.annotation.*;

/**
 * ClassName: GuiguLogin
 * Package: com.atguigu.tingshu.common.login
 * Description:登录校验
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface GuiGuLogin {

    /**
     * 是否需要登录
     * @return
     */
    boolean required() default true;
}
